package com.itheima.service;


import com.itheima.domain.vo.AddUser;
import com.itheima.domain.vo.PageResult;
import com.itheima.domain.vo.QueryPageBean;
import com.itheima.domain.vo.UpdateUser;
import org.springframework.transaction.annotation.Transactional;

public interface UserService {

    PageResult findByPage(QueryPageBean queryPageBean);

    @Transactional
    boolean addUser(AddUser au);
    @Transactional
    boolean updateUser(UpdateUser uu);
    @Transactional
    boolean deleteUser(Integer id);
}
